<!DOCTYPE html>
<html  xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=0, minimum-scale=1.0,maximum-scale=1.0" />
<!-- jquery库 -->
		  <script type="text/javascript" src="../common/meta.js"></script>
		<script src="chooseAddress.js"></script>
		<script type="text/javascript" src="./cache.js"></script> 
		<style type="text/css">
			.ui-body-c, .ui-overlay-c {
		    	background: none;
		    	color: #333;
				}
								table th{
	    background-color: #49afcd;
	    color:#fff;
	    }
	    .panel{
    		margin:10px;
    		border:1px solid;
    		border-color: gray;
    		padding: 2px;
    		border-radius:8px;
    	}
                   ul, ol {
			margin: 0 0 0px 0px;
			padding: 0;
		}
         .back{
		 	margin-top:5px;
             float:left;
		 }
		</style>
</head>
<body>

<div id="productview" data-role="page" data-dom-cache="true" class="bodyframe">
	<div data-role="header" class=" theme-info" >
	 <ul class="back">
	   		<a   href="#"><image src='../image/left_48.png'></image></a>
	 </ul>
	<h1>
		<span>地址选择</span>
	</h1>
	<a id="addBtn" class="btn ui-btn-right">添加</a>
   </div>
      	<div class="panel">
		 <table id="gridPage" class="table table-bordered " data-role="gridtable" data-settings="{pageSize:5,currentPageIndex:1,server:localStorage['APP_AJAX_PATH']+'/drinkingBar/view/chooseAddress.jsp.findAddressByUserId',autoload:true}">
			<thead>
				<tr>
		            <th class="formatter-address" width="90%">地址</th>
		            <th class="radio" width="10%"></th>
				</tr>
			</thead>
			<tbody >
			       <!-- grid单元模板 -->
				<tr class='grid_tr_templete' >
		             <td  width="90%" data-title=""></td>
		             <td  width="10%" data-title="" ></td>
		        </tr>
		    </tbody>
		</table>
	  
		<div class="row-fluid">
			<button class="btn" type="button" id="chooseBtn">选择</button>
			<button class="btn" type="button" id="updateBtn">修改</button>
			<button class="btn" type="button" id="delBtn">删除</button>
			<button class="btn" type="button" id="setDefaultBtn">设为默认地址</button>
		</div>
	
	</div>	
</div>
       
</body>

</html>